﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
using TestCAI.DTO;


namespace TestCAI.Models
{
    public class CaiHistoryViewModel
    {
        public List<CaiDTO> lstCAI { get; set; }
        public int StoreNumber { get; set; }
        public List<ShoppingCenterDTO> ShoppingCenters;

        public IEnumerable<SelectListItem> lstShoppingCenters
        {
            get
            {
                return new SelectList(ShoppingCenters, "StoreNumber", "ShoppingCenterName");
            }
        }
    }
}